Downloads the annotations of the specified document URI into an array.
[ObsoleteAttribute("User DownloadAnnotations(DownloadDocumentOptions) instead")]
public static int DownloadAnnotations(
ObjectCache cache,
Uri uri,
long offset,
byte[] data,
int dataOffset,
int dataLength
)
<ObsoleteAttribute("User DownloadAnnotations(DownloadDocumentOptions) instead")>
Public Shared Function DownloadAnnotations(
ByVal cache As ObjectCache,
ByVal uri As Uri,
ByVal offset As Long,
ByVal data() As Byte,
ByVal dataOffset As Integer,
ByVal dataLength As Integer
) As Integer
public:
[ObsoleteAttribute(L"User DownloadAnnotations(DownloadDocumentOptions) instead")]
static Int32 DownloadAnnotations(
ObjectCache^ cache,
Uri^ uri,
Int64 offset,
array<Byte>^ data,
Int32 dataOffset,
Int32 dataLength
)
cache
The cache containing the document. This value cannot be null.
uri
URI to the owner document of the annotations to download.
offset
0-based byte offset into the source annotations data at which to begin reading the data.
data
Buffer to read the data into.
dataOffset
0-based byte offset into data at which to begin storing the data.
dataLength
The maximum number of bytes to read.
The total number of bytes read into data. This can be less than the number of bytes requested by dataLength, if that many bytes are not currently available, or zero (0) if the end of the data has been reached.
Similar to UploadDocument, data can be downloaded in chunks or all at once. Refer to Uploading Using the Document Library for detailed information on how to use these methods and the various options used.
GetDocumentCacheInfo can be used to determine if a document is in the cache and to get its information.
DownloadDocument can be used to download the data of a document.
For an example, refer to DownloadDocument(ObjectCache,string,long,int,Stream).
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document